(someone's) mind in a muddle

Translations
avoir les idées embrouillées
Definitions
A state in which someone is confused or unable to think clearly, often because of too many thoughts or conflicting information.